<?php
   session_start();
   header('Access-Control-Allow-Origin:*');
   error_reporting(E_ALL&~E_NOTICE);
   //header("Content-type:text/html;chaeset=gbk")
   /*
            注意：
        本php是gbk编码的，因为mysise就是gbk编码没办法json_encode()
        里面的值要先转换为utf-8才能被识别
    */
   $user=$_POST['user']?$_POST['user']:$_SESSION['user']['user'];
   $pass=$_POST['pass']?$_POST['pass']:$_SESSION['user']['pass'];
   $sise_cookie=$_POST['sise_cookie']?$_POST['sise_cookie']:$_SESSION['user']['sise_cookie'];
   
?>